package cc.greencat.gcmall.member.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分变化历史记录
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:52:23
 */
@TableName("integration_change_history")
public class IntegrationChangeHistoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * member_id
	 */
	private Long memberId;
	/**
	 * create_time
	 */
	private Date createTime;
	/**
	 * 变化的值
	 */
	private Integer changeCount;
	/**
	 * 备注
	 */
	private String note;
	/**
	 * 来源[0->购物；1->管理员修改;2->活动]
	 */
	private Integer sourceTyoe;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set member_id
	 */
    public void setMemberId(Long memberId){
        this.memberId = memberId;
    }
    /**
	 * get member_id
	 */
    public Long getMemberId(){
        return this.memberId;
    }
	/**
	 * set create_time
	 */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }
    /**
	 * get create_time
	 */
    public Date getCreateTime(){
        return this.createTime;
    }
	/**
	 * set 变化的值
	 */
    public void setChangeCount(Integer changeCount){
        this.changeCount = changeCount;
    }
    /**
	 * get 变化的值
	 */
    public Integer getChangeCount(){
        return this.changeCount;
    }
	/**
	 * set 备注
	 */
    public void setNote(String note){
        this.note = note;
    }
    /**
	 * get 备注
	 */
    public String getNote(){
        return this.note;
    }
	/**
	 * set 来源[0->购物；1->管理员修改;2->活动]
	 */
    public void setSourceTyoe(Integer sourceTyoe){
        this.sourceTyoe = sourceTyoe;
    }
    /**
	 * get 来源[0->购物；1->管理员修改;2->活动]
	 */
    public Integer getSourceTyoe(){
        return this.sourceTyoe;
    }

}
